﻿using de.wolfmarco.pas.Shared.Database;
using de.wolfmarco.pas.Shared.Properties;
using System;
using System.Linq;
using System.Windows.Controls;

namespace de.wolfmarco.pas.Client.MVVM
{
    /// <summary>
    /// Interaktionslogik für DatabaseSettingsView.xaml
    /// </summary>
    public partial class DatabaseSettingsView : UserControl
    {
        public DatabaseSettingsView()
        {
            InitializeComponent();
            DataContext = Settings.Default;
            databaseType.ItemsSource = Enum.GetValues(typeof(DatabaseTypeEnum)).Cast<DatabaseTypeEnum>();
        }
    }
}
